# -*- coding: utf-8 -*-
__author__ = 'xuliliang'
# @Time    : 2019/12/24 下午2:57
# @Author  : 'xuliliang'
# @Email   : xuliliang@u51.com
# @File    : tornado.py
# @Software: PyCharm

import tornado.ioloop
from tornado import 
import tornado.web

class MainHandler(tornado.web.RequestHandler):
    def get(self):
        self.write("Hello, world")

def make_app():
    return tornado.web.Application([
        (r"/", MainHandler),
    ])

if __name__ == "__main__":
    app = make_app()
    app.listen(8888)
    tornado.ioloop.IOLoop.current().start()



